package com.sky.orangehireserver.modules.job_seeker.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.Size;

/**
 * 求职者信息更新请求DTO
 * 
 * @author sky
 */
@Data
@Schema(description = "求职者信息更新请求DTO")
public class SeekerUpdateDTO {

    /**
     * 用户姓名
     */
    @Size(max = 50, message = "用户姓名长度不能超过50个字符")
    @Schema(description = "用户姓名", example = "张三")
    private String name;

    /**
     * 邮箱/登录账号
     */
    @Email(message = "邮箱格式不正确")
    @Size(max = 100, message = "邮箱长度不能超过100个字符")
    @Schema(description = "邮箱/登录账号", example = "zhangsan@example.com")
    private String email;

    /**
     * 头像URL
     */
    @Size(max = 500, message = "头像URL长度不能超过500个字符")
    @Schema(description = "头像URL")
    private String avatar;
}